package com.food.user.exception.productsTypeException;


import com.food.user.exception.WoNiuException;

public class ProductsTypeException extends WoNiuException {
    public ProductsTypeException(Integer code, String message) {
        super(code, message);
    }
    public ProductsTypeException(ProductsTypeExceptionCode productsTypeExceptionCode){
        super(productsTypeExceptionCode.getCode(),productsTypeExceptionCode.getMessage());
    }
}
